	var Admin_menus = {
	basic : [ {
		"menuid" : "10",
		"icon" : "icon-sys",
		"menuname" : "悬浮隧道状态回放",
		"menus" : [ {
			"menuid" : "150",
			"menuname" : "环境",
			"icon" : "icon-nav",
			"url" : "business/environment.jsp"
		},{
			"menuid" : "151",
			"menuname" : "姿态",
			"icon" : "icon-nav",
			"url" : "business/pose.jsp"
		},{
			"menuid" : "152",
			"menuname" : "总力",
			"icon" : "icon-nav",
			"url" : "business/0.jsp"
		},{
			"menuid" : "153",
			"menuname" : "活屏",
			"icon" : "icon-nav",
			"url" : "business/0.jsp"
		},{
			"menuid" : "154",
			"menuname" : "模型",
			"icon" : "icon-nav",
			"url" : "business/model.jsp"
		},{
			"menuid" : "155",
			"menuname" : "缆力/加速度",
			"icon" : "icon-nav",
			"url" : "business/forece.jsp"
		},{
			"menuid" : "156",
			"menuname" : "水下监控",
			"icon" : "icon-nav",
			"url" : "business/0.jsp"
		}]
	}
	/*, 
	{
		"menuid" : "30",
		"icon" : "icon-sys",
		"menuname" : "系统管理",
		"menus" : [{
			"menuid" : "311",
			"menuname" : "系统用户管理",
			"icon" : "icon-nav",
			"url" : "business/member.jsp"
		}]
	}*/
	]
};

var Guest_menus = {
		basic : [ {
			"menuid" : "10",
			"icon" : "icon-sys",
			"menuname" : "",
			"menus" : [ {
				"menuid" : "111",
				"menuname" : "",
				"icon" : "icon-nav",
				"url" : "business/draftrecord.jsp"
			},{
				"menuid" : "115",
				"menuname" : "",
				"icon" : "icon-nav",
				"url" : "business/2dresult.jsp"
			},{
				"menuid" : "117",
				"menuname" : "三",
				"icon" : "icon-nav",
				"url" : "business/3dresult.jsp"
			}]
		} ]
	};

// 设置登录窗口
function openPwd() {
	$('#w').window( {
		title : '修改密码',
		width : 300,
		modal : true,
		shadow : true,
		closed : true,
		height : 160,
		resizable : false
	});
}
// 关闭登录窗口
function closePwd() {
	$('#w').window('close');
}

$(function() {
	$('#loginOut, #mm-exit').click(function() {
		$.messager.confirm('系统提示', '您确定要退出本次登录吗?', function(r) {
			if (r) {
				parent.document.location.reload();
			}
		});
	});
});